.chat-container
    height: 100%
    display: flex
    flex-direction: column
    overflow: hidden

.chat-main
    height: 100%
    display: flex
    flex-direction: column
    overflow: hidden

.chat-header
    padding: 12px 16px
    border-bottom: 1px solid #f0f0f0
    display: flex
    align-items: center
    justify-content: space-between
    flex-shrink: 0

.chat-messages
    flex: 1
    overflow-y: auto
    overflow-x: hidden
    padding: 16px
    min-height: 0

.chat-input-container
    padding: 16px
    flex-shrink: 0

// Markdown 样式
.markdown-content
    line-height: 1.8
    
    h1, h2, h3, h4, h5, h6
        margin: 16px 0 8px 0
        font-weight: 600
        line-height: 1.4
        
    h1
        font-size: 1.8em
        border-bottom: 2px solid #e8e8e8
        padding-bottom: 8px
        
    h2
        font-size: 1.5em
        border-bottom: 1px solid #f0f0f0
        padding-bottom: 6px
        
    h3
        font-size: 1.3em
        
    h4
        font-size: 1.1em
        
    p
        margin: 8px 0
        
    ul, ol
        margin: 8px 0
        padding-left: 24px
        
    li
        margin: 4px 0
        
    code
        background: #f5f5f5
        padding: 2px 6px
        border-radius: 3px
        font-family: 'Monaco', 'Menlo', 'Consolas', monospace
        font-size: 0.9em
        
    pre
        background: #f5f5f5
        padding: 12px
        border-radius: 6px
        overflow-x: auto
        margin: 8px 0
        
        code
            background: none
            padding: 0
            
    blockquote
        border-left: 4px solid #1890ff
        padding-left: 12px
        margin: 8px 0
        color: #666
        
    table
        border-collapse: collapse
        width: 100%
        margin: 8px 0
        
    th, td
        border: 1px solid #e8e8e8
        padding: 8px 12px
        text-align: left
        
    th
        background: #fafafa
        font-weight: 600
        
    a
        color: #1890ff
        text-decoration: none
        
        &:hover
            text-decoration: underline
            
    strong
        font-weight: 600
        
    em
        font-style: italic
        
    hr
        border: none
        border-top: 1px solid #e8e8e8
        margin: 16px 0